<%--
  Created by IntelliJ IDEA.
  User: XQ
  Date: 2017/11/16
  Time: 18:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>Title</title>
    <link href="<%= request.getContextPath()%>resources/css/ok.css" type="text/css" rel="stylesheet">
</head>
<body>
<%System.out.println(basePath);
%>
<H1>ok</H1>
ok
</body>
</html>
